<?php

	$data[] = array("path" => "/path");

 	$response = json_encode(array("success" => true, data => $data ));

	header('Content-type: text/json');
	header('Content-type: application/json');

	if ($_REQUEST['callback']) {
		print $_REQUEST['callback'] . "(" . $response . ")";
	} else {
		print $response;
	}
?>